home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem **
- rem ** Resources builder
- rem **-------------------
- rem ** 1st parameter : family name (like camera, atmos)
- rem ** 2nd parameter : 3-4 letter name (FOG, CAMS, etc...)
- rem **
-
- echo compiling resource COM%2.R
- cd ..\Samples\%1\%2\COM%2
-
- rem **
- rem ** because of a bug in MRC, there is two ray dream include directories :
- rem ** ..\..\..\..\Includes is the wright one
- rem ** ..\..\..\Includes is the one recognised by MRC ver 2.00
- rem ** this is the path from the source directory (COM%2.R)
- rem **
- %MsDevDir%\MAC\BIN\mrc -I ..\..\..\Includes;%MsDevDir%\MAC\INCLUDE\MRC;..\..\..\..\Includes -o COM%2.dta ..\COM%2.R
-
- if not errorlevel 0 goto fin
- if not exist COM%2.dta goto fin
- if exist ..\..\..\..\DemoExt\COM%2.dta del exist ..\..\..\..\DemoExt\COM%2.dta
- move COM%2.dta ..\..\..\..\DemoExt
- :fin
- rem set INCLUDE=
- rem set LIB=
- cd ..\..\..\..\Build
-